package com.zengdada.report.service;

import javax.servlet.http.HttpServletRequest;

/**
 * @Auther: 12614
 * @Contact: 1261438511@qq.com
 * @Date: 2019/3/12 15:26
 * @Description:
 */
public interface ReportAuthorityService {
    /**
     * 保存临时数据
     * @param request
     * @return
     */
    String saveTempData(HttpServletRequest request);

    /**
     * 打印报表
     * @param reportId
     * @param request
     * @param type
     * @return
     */
    byte[] report(String reportId, HttpServletRequest request, JasperReportType type);
}
